//package com.mftour.common.swagger;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Bean;
//
//import com.mangofactory.swagger.configuration.SpringSwaggerConfig;
//import com.mangofactory.swagger.models.dto.ApiInfo;
//import com.mangofactory.swagger.plugin.SwaggerSpringMvcPlugin;
//
//public class SwaggerConfig {
//	private SpringSwaggerConfig springSwaggerConfig;
//
//	/**
//	 * Required to autowire SpringSwaggerConfig
//	 */
//	@Autowired
//	public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {
//		this.springSwaggerConfig = springSwaggerConfig;
//	}
//
//	/**
//	 * Every SwaggerSpringMvcPlugin bean is picked up by the swagger-mvc
//	 * framework - allowing for multiple swagger groups i.e. same code base
//	 * multiple swagger resource listings.
//	 */
//	@Bean
//	public SwaggerSpringMvcPlugin customImplementation() {
//		return new SwaggerSpringMvcPlugin(this.springSwaggerConfig).apiInfo(apiInfo()).includePatterns(".*?");
//	}
//
//	private ApiInfo apiInfo() {
//		ApiInfo apiInfo = new ApiInfo("My Apps API title111", "My Apps API 描述", "My Apps API 服务成员", "My Apps API Email", "My Apps API Licence类型",
//				"My Apps API License URL");
//		return apiInfo;
//	}
//}
